package com.wsm.common.enums;

/**
 * @name: BaseEnum
 * @Author: wangshimin
 * @Date: 2020/2/5  20:05
 * @Description:
 */
public class BaseEnum {
    public static enum DEL_FLAF_String {
        Yes_del("0"),
        Not_del("1");

        private String code;

        private DEL_FLAF_String(String code) {
            this.code = code;
        }

        public String getCode() {
            return code;
        }

        public void setCode(String code) {
            this.code = code;
        }
    }

    public static enum CLOSE_FLAG {
        close("0"),
        open("1");

        private String code;

        private CLOSE_FLAG(String code) {
            this.code = code;
        }

        public String getCode() {
            return code;
        }

        public void setCode(String code) {
            this.code = code;
        }
    }

    public static enum USE_FLAG {
        NO(0),
        YES(1);

        private int code;

        private USE_FLAG(int code) {
            this.code = code;
        }

        public int getCode() {
            return code;
        }

        public void setCode(int code) {
            this.code = code;
        }
    }
    public static enum DEL_FLAF {
        Yes_del(0),
        Not_del(1);

        private int code;

        private DEL_FLAF(int code) {
            this.code = code;
        }

        public int getCode() {
            return code;
        }

        public void setCode(int code) {
            this.code = code;
        }
    }
}
